﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WA.Core.DaoInterfaces;


namespace WA.Data
{
    public class DaoFactory:IDaoFactory
    {
        #region IDaoFactory Members

        public ICompanyDao GetCompanyDao()
        {
            return (ICompanyDao)new CompanyDao();
        }

        public IInvoiceDao GetInvoiceDao()
        {
            return (InvoiceDao)new InvoiceDao();
        }

        public IPartnerDao GetPartnerDao()
        {
            return (IPartnerDao)new PartnerDao();
        }       

        #endregion
    }
}
